home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Tools - Objects / Virtual User 1.0 / Example Scripts / MessagePassing Example / Read Me First < prev   
Text File  |  1991-01-25  |  2KB  |  27 lines

  1. This folder contains an example of 2 VU scripts which pass messages to each other
  2. sharing tasks defined in a common library. This is a multi-target multi-script 
  3. example, that is, script Actor1.vu runs in parallel with the script Actor2.vu. 
  4. They together demonstrate message passing while sharing tasks in a library. To
  5. run this demo you need two target machines (both having the Desk Accessory, Key Caps).
  6. It would be better if the two targets had different memory configurations and are
  7. running different versions of system software.
  8.  
  9. This demo opens up the Key Caps desk accessory on the target machines and types 
  10. strings in it for you to read. Firstly it types out an introductory statement. After
  11. that each target displays the message it's controlling actor receives from the actor
  12. controlling the other target. If you read the message on the screen you will notice
  13. that the messages describe the other target's characteristics like its User Name,
  14. amount of RAM (memory) and version of system software they are running.
  15.  
  16.  
  17. Your command line should be as follows: (assuming the two targets have user names
  18. as Target1 and Target2 and that Actor1.vu, Actor2.vu and the library 
  19. MessagePassingDemoLib.vu are all in your current working directory)
  20.  
  21. VU    -t1 '*:Target1' -s1 Actor1.vu -l1 Actor1.log ∂
  22.     -t2 '*:Target2' -s2 Actor2.vu -l2 Actor2.log
  23.  
  24. Caution: Do not forget to turn the key repeat off in the control panel on both
  25.          the targets. The script takes a few seconds (maybe 15) before you start 
  26.          seeing anything on the target screens.
  27.